package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户奖券对象 bt_user_ticket
 * 
 * @author laohei
 * @date 2021-02-06
 */
public class BtUserTicket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer utId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 奖券编号 */
    @Excel(name = "奖券编号")
    private String utCode;

    /** 中奖总额 */
    @Excel(name = "中奖总额")
    private Integer winFee;

    /** 状态 0未使用 1已使用 */
    @Excel(name = "状态 0未使用 1已使用")
    private Integer status;

    /** 消耗额度 */
    @Excel(name = "消耗额度")
    private Integer totalFee;

    /** 备注 */
    private String memo;

    public void setUtId(Integer utId) 
    {
        this.utId = utId;
    }

    public Integer getUtId() 
    {
        return utId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUtCode(String utCode) 
    {
        this.utCode = utCode;
    }

    public String getUtCode() 
    {
        return utCode;
    }
    public void setWinFee(Integer winFee) 
    {
        this.winFee = winFee;
    }

    public Integer getWinFee() 
    {
        return winFee;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setTotalFee(Integer totalFee) 
    {
        this.totalFee = totalFee;
    }

    public Integer getTotalFee() 
    {
        return totalFee;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("utId", getUtId())
            .append("userId", getUserId())
            .append("utCode", getUtCode())
            .append("winFee", getWinFee())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("totalFee", getTotalFee())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
